package com.zmm.zebulon.module.system.biz.convert.ip;

import com.zmm.zebulon.module.system.biz.controller.admin.ip.vo.AreaNodeRespVO;
import com.zmm.zebulon.module.system.biz.controller.app.ip.vo.AppAreaNodeRespVO;
import com.zmm.zebulon.starter.biz.ip.core.Area;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

/**
 * description: 地区 转换
 *
 * @author zebulon
 * package com.zmm.zebulon.module.system.biz.convert.ip
 * name: AreaConvert
 * date 2024/1/8 23:34
 */
@Mapper
public interface AreaConvert {

    AreaConvert INSTANCE = Mappers.getMapper(AreaConvert.class);

    List<AreaNodeRespVO> convertList(List<Area> list);

    List<AppAreaNodeRespVO> convertList3(List<Area> list);

}
